package leetcode.code0494;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution494 implements IDebug {

	public abstract int findTargetSumWays(int[] nums, int target);

	@Override
	public void debug1() {
		// nums = [1,1,1,1,1], target = 3
		String str = "[1,1,1,1,1]";
		int target = 3;
		int[] nums = HelpDebug.str2array3(str);
		int e = 5;
		int r = this.findTargetSumWays(nums, target);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug2() {
		String str = "[1]";
		int target = 1;
		int[] nums = HelpDebug.str2array3(str);
		int e = 1;
		int r = this.findTargetSumWays(nums, target);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug3() {
		// TODO Auto-generated method stub

	}

	@Override
	public void debug4() {
		// TODO Auto-generated method stub

	}

}
